'This program is quite simple and well documented with comments.
Password Program Ver2.100000a
This is the VB4 -16bit version. See PASSWD1.ZIP for the VB3 ver.

Point Systems, Inc.		CIS ID: 102370,3655
PO Box 76255	              Internet: PointSysIn@gnn.com
St. Petersburg, FL 33734           AOE: PointSysIn
Fax 813-528-0217		   
		(Support is via Email)

Registration Fee= $10.00

Compuserve Registration: go swreg    (Registration ID=8676)
Check or Money Order: Mail it to the above address.

The Password VB Program is a set of very simply laid out forms and procedures to add full password and task level functionality to your Visual Basic programs. I used no custom VBXs or tools and kept it in VB 4.0-16 for portability. All Source code and exe included. 

Features:
User ID 
User Name
User Password        'Encrypted
User Task Level      'Encrypted
User Setup Date      'Encrypted
User Expiration Date 'Encrypted

Enter Password Form
Change Password Form
Delete User Form
List Users Form (with additional info on each user)
Add New Users

Advanced forms are Task Level restricted to show setup possibilities.

All parameters are coded as Constants in the PASSWORD.BASS so you can adjust them in one place to suit your needs.

The only area of concern may be the use of the Access Database file (password.mdb, password.ldb) for storing the IDs, names, task levels, activation and expiry dates.  I used the MS Access 2.5 Jet engine (standard to VB 4-16bit and available on CIS to all).   See notes below for additional database details.


MISC:
The database (used to store the User data) requires the DOS SHARE.EXE command if using Windows 3.1 (as opposed to Win 95). Add this line to your AUTOEXEC.BAT file before the 'win' line.
	c:\dos\share /L:500
You don't need the Share command if you have the VSHARE.386 command loaded in your sys.ini. Both commands allow for file locking and sharing and are required by all VB Jet Engine versions.	

Also error 3050 is a common error I get Emails about, no matter how many times I say and document the Share command. This error is caused when the SHARE.EXE program is not loaded (or loaded incorrectly) in the AUTOEXEC.BAT file (see above).

FILES: See Files.txt for list of files & sizes
The files are: 

DELPASS  FRM       Delete User form
CHGPASS  FRM       Change your password form
PASWORD  EXE       The Password VB program compiled
PASSWRD  FRM       Enter your ID/Password form 
README   TXT       This file
PASSWORD LDB       Access DB index used to hold the User data
PASSWORD MDB       Access DB file used to hold the User data
PASWORD  MAK       Visual Basic 3.0 Project file
LISTUSER FRM       List Users form
MAINFORM FRM       Main MDI form used as main program form
NEW_PW   FRM       Add new (or Edit) User form
MAINFORM FRX       Main MDI Icon holder
PASSWRD  BAS       Constants, functions & primary procedures


INSTALL:
Extracte (unzip) the files into a working directory.  Load VB and the MAK file. Run it and use 'test' as the user ID, and 'testing' as the password. The rest is childs play. Remember, the pass words are encrypted, so the only way to figure them out is via the source code and to break on the return of the decrypt function and display them in the debug.window.  

You can also run the password.exe, which is the compiled version of the bas and frm files, to see the full working approach.

REQUIREMENTS:
You will need VBRUN400.DLL and MSAJT200.DLL in your Windows System directory.

Database file stuff (the DB is an MS Access 2.5 DB, nothing special happens in the DB file, its just for storage, so you can change its structure to anything as long as you change the db find, read & writes to any new field names or use flat a flat file as a replacement.  Warning, if your VB can't read the DB file, you need to upgrade the included Access Jet engine supplied with older VB versions. To upgrade, 'Go Access' on CIS and do a key word search for Compatibility Layer (upgrade from Jet 1.1 to 2.0) and Service Pack (upgrade from jet 2 to 2.5). VB 4.0 comes with Jet 2.5 for 16bit and 3.0 for 32bit.


ABOUT ME:
Written by Livio Bestulic, at Point Systems, Inc., at CIS 102370,3655.  It was written because I couldn't find a simple set of Password modules/forms to insert into my programs.  Its free to use this code to develop and learn from.  However, I would like you to contribute $10.00 US dollars to my self-interest fund if you incorporate it into your commercial/released/sold software.  You can register it on CIS GO SWREG or send a check/money order to:

Point Systems, Inc.
PO Box 76255
St Petersburg' FL 33734

Registered users get to ask support questions via Email and I will Email them any major updates (which I doubt will occur since I have used this code for over a year and haven't changed anything major in that time).  What do you expect for $10. Its important to note 'registered users', since I have gotton a lot of questions and never seen the $10.

Have fun and REGISTER YOUR SOFTWARE today. Send your comments to the E-mail
listed above.

LEGAL STUFF:
User/developer will indemnify, save and hold harmless Point Systems, Inc. (Point), its officers, directors, employees and agents from and against any and all actions, claims, losses, damages, liabilities, costs, awards and expenses (including legal fees) resulting from or arising out of any breach or claimed breach of the warranties provided herein. Warranties = NONE.